package com.ly.mpayment.persist.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * UpProductCode entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="up_product_code"

)

public class UpProductCode  implements java.io.Serializable {


    // Fields

     private String proCodeId;
     private String codeName;
     private Date createTime;
     private Integer codeStatus;
     private String productCode;


    // Constructors

    /** default constructor */
    public UpProductCode() {
    }


    /** full constructor */
    public UpProductCode(String codeName, Date createTime, Integer codeStatus) {
        this.codeName = codeName;
        this.createTime = createTime;
        this.codeStatus = codeStatus;
    }


    // Property accessors
    @Id
    @GeneratedValue(generator = "uuid")
    @GenericGenerator(name = "uuid", strategy = "uuid")
    @Column(name="pro_code_id", unique=true, nullable=false, length=40)
    public String getProCodeId() {
        return this.proCodeId;
    }

    public void setProCodeId(String proCodeId) {
        this.proCodeId = proCodeId;
    }

    @Column(name="code_name", length=40)

    public String getCodeName() {
        return this.codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }

    @Column(name="create_time", length=19)

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name="code_status")

    public Integer getCodeStatus() {
        return this.codeStatus;
    }

    public void setCodeStatus(Integer codeStatus) {
        this.codeStatus = codeStatus;
    }

    @Column(name="product_code")
  	public String getProductCode() {
  		return productCode;
  	}


  	public void setProductCode(String productCode) {
  		this.productCode = productCode;
  	}








}
